package br.uvv.Web.ManagedBean;

import java.io.Serializable;

import br.uvv.Service.ConfirmacaoEmailService;
import br.uvv.Util.MsgUtil;
import br.uvv.Util.RNException;

public class ConfirmacaoEmailBean implements Serializable {

	private static final long serialVersionUID = -3363556452967981170L;
	
	public void setId(String id) {
		ConfirmacaoEmailService service = new ConfirmacaoEmailService();
		try {
			service.confirmarToken(id);
			MsgUtil.info("TUDO CERTO");
		} catch (RNException e){
			MsgUtil.info("NADA CERTO");
		}
		
	}
}